package com.icesnowsun.app.msg.controller;

import ncme.auto.framework.core.annotations.aspect.AutoEntityProcess;
import ncme.auto.framework.core.annotations.handler.AutoRequestBody;
import com.icesnowsun.app.msg.entity.Message;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/msg/message")
@CrossOrigin
public class MessageController {

    @AutoEntityProcess(BUSINESS_ENTITY = Message.class, LOG_MSG = "Message", REQUEST_TYPE_CODE = "5234")
    public Object main(@AutoRequestBody Map<String, Object> param) {
        return null;
    }

}
